<?php
require_once '../sub/init.php';
header("Cache-control: private");
require_once 'chkUadm.php';
if(!in_array('badkeyword',$QXARR))exit(noauth());?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<script src="<?php echo RES;?>www_zeai_cn.js?<?php echo $_ZEAI['cache_str'];?>"></script>
<link href="css/main.css?<?php echo $_ZEAI['cache_str'];?>" rel="stylesheet" type="text/css">
<style>::-webkit-input-placeholder{color:#bbb;font-size:14px}</style>
</head>
<body class="body">
<form id="W_W_W_Z_E__A_I__C_N__FORM">
<table class="table size2 W90_" style="margin:20px 0 0 20px">
	<tr><td height="50" colspan="2" align="center" class="line150 S18"><b>敏感词过滤</b><div class="tips S12 C999">将进行全站过滤成*号，由于本系统有强大的审核功能，没有特殊情况建议留空</div></td></tr>     
	<tr>
		<td class="tdL">过滤词列表</td>
		<td class="tdR"><textarea name="badkeyword" style="padding:10px" cols="30" rows="20" class="W200 S14" id="badkeyword" placeholder="例如：&#13;-------------------&#13;共产党&#13;习进平&#13;找小姐&#13;一夜情&#13;微信号&#13;QQ号"><?php echo str_replace("<br>","\r",dataIO($_ZEAI['badkeyword'],'out'));?></textarea><span class="tips2 textmiddle">简短连续词，<b>一行一词</b>，<font class="Cf00 S18 B">不能有多余空行空格</font>，为了性能，请控制在30行以内，<font class="Cf00">关闭此功能请留空</font></span></td>
	</tr> 
	<tr>    
		<td colspan="2" align="center">
		<input name="submitok" type="hidden" value="badkeyword">
		<input name="uu" type="hidden" value="<?php echo $session_uid;?>">
		<input name="pp" type="hidden" value="<?php echo $session_pwd;?>">
		<button type="button" id="save" class="btn size3">确认并保存</button>
		<script>
			save.onclick = function(){
				zeai.ajax({url:'<?php echo HOST;?>/sub/cache'+zeai.extname,form:W_W_W_Z_E__A_I__C_N__FORM},function(e){var rs=zeai.jsoneval(e);
					zeai.msg(0);zeai.msg(rs.msg);
					if (rs.flag == 1){setTimeout(function(){location.reload(true);},1000);}
				});
			}
		</script>
		</td>
	</tr>
</table>
</form>
<br><br><br>
<?php require_once 'bottomadm.php';?>